portableSql
Position Portable SQL Function
Syntax
Position as N (SearchString as C, StringToSearch as C)
Arguments
- SearchStringCharacter
A field or value.
- StringToSearchCharacter
The text to search for. Can be a field or value.
Returns
- resultCharacter
Returns the position where the search string was found. If the string is not found, returns 0.
Description
Return the position of SearchString in StringToSearch.
Discussion
The Position function
Position() function executed on the Northwind Access database
SELECT FIRST 1 Position('t',CompanyName) AS Expr1 FROM Customers
=11